home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0316 / scalc.jar / text / scalc / guide / cellreferences_url.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  7.0 KB  |  82 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>References to Other Sheets</title><meta name="filename" content="text/scalc/guide/cellreferences_url"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         p.P2{
  7.                 }
  8.         p.P3{
  9.                 }
  10.         p.P4{
  11.                 }
  12.         span.T1{
  13.                 font-weight:bold;}
  14.         </style></head><body>
  15.    
  16.    
  17.    <p class="P1"/>
  18.    <p class="Head1"><help:key-word value="sheet references; to other documents" tag="kw68074_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="HTML; in sheet cells" tag="kw68074_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="references; URL in cells" tag="kw68074_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="cells; Internet references" tag="kw68074_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="URL; in Calc" tag="kw68074_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="cellreferences_url" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68074">References to Other Sheets</help:link></help:to-be-embedded></p>
  19.    <p class="Paragraph">In a sheet cell you can show a reference to a cell in another sheet.</p>
  20.    <ol class="L1">
  21.     <li class="">
  22.      <p class="P2">Open a new, empty spreadsheet.</p>
  23.     </li>
  24.     <li class="">
  25.      <p class="P2">By way of example, enter in cell A1 of Sheet1 the following formula and complete the input with the Enter key:</p>
  26.      <p class="P2">=Sheet2.A1</p>
  27.     </li>
  28.     <li class="">
  29.      <p class="P2">If you now click the sheet tab with the label text Sheet2 on the bottom window border, you will go to Sheet2 of the current document. Set the cursor in cell A1 there and enter text or a number.</p>
  30.     </li>
  31.     <li class="">
  32.      <p class="P2">If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change.</p>
  33.     </li>
  34.    </ol>
  35.    <p class="Paragraph">In a corresponding way a reference can also be made to a cell of another document. Open another spreadsheet in addition to your new spreadsheet, which is already saved as a file (this does not work unless a document has previously been saved).</p>
  36.    <ol class="L2">
  37.     <li class="">
  38.      <p class="P3">If you have installed the samples you can, for example, by choosing <span class="T1">File - Open</span>, open the Movie1 document from the spreadsheet samples.</p>
  39.     </li>
  40.     <li class="">
  41.      <p class="P3">Change back to your new, still almost empty spreadsheet. Set the cursor in a free cell and enter an equals sign to indicate that you want to begin a formula.</p>
  42.     </li>
  43.     <li class="">
  44.      <p class="P3">Now switch to the document you have just loaded, Movie1. Click cell C3.</p>
  45.     </li>
  46.     <li class="">
  47.      <p class="P3">Switch back to the new spreadsheet. In the calculation row you will now see how <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc has added the reference to the formula for you. By way of example, the following will now be located there:</p>
  48.      <p class="P3">='file:///C:/{installpath}/share/samples/english/spreadsheets/Movie1.sdc'#$movievisits.C3</p>
  49.     </li>
  50.     <li class="">
  51.      <p class="P3">Confirm the formula by clicking the green check mark.</p>
  52.      <p class="P3">The reference to a cell of another document thus contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet in the other document followed by a point and the name of the cell there C3. The name of the sheet automatically receives a leading dollar sign, since the sheet has absolute addressing.</p>
  53.     </li>
  54.    </ol>
  55.    <p class="Paragraph">If you closely examine the name of the other document in this formula, you will notice that it is written as a <help:popup Id="65629" Eid="url" xmlns:help="http://openoffice.org/2000/help">URL</help:popup>. This means that you can also enter a URL from the Internet. If, for example, you found an Internet page containing current stock exchange information in spreadsheet cells, you can load this page in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc. Just <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>follow these steps:</p>
  56.    <ol class="L3">
  57.     <li class="">
  58.      <p class="P4">In a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc document, position the cursor in the cell starting from which you want to insert the external data.</p>
  59.     </li>
  60.     <li class="">
  61.      <p class="P4">Choose <span class="T1">Insert - External Data</span>. The <help:link Id="68306" xmlns:help="http://openoffice.org/2000/help"><span class="T1">External Data</span></help:link> dialog appears.</p>
  62.     </li>
  63.     <li class="">
  64.      <p class="P4">In the dialog, enter the URL of the document or Web page. Write the URL in the following way: (fictional example) http://www.my-bank.com/table.html. You can enter a file name from the local or network file system in the usual way, i.e., like in the File - Open dialog.</p>
  65.      <p class="P4"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> loads the Web page or file in the "background", that is, without displaying it. In the large list box of the <span class="T1">External Data</span> dialog, you can see the name of all the sheets or areas you can choose from.</p>
  66.     </li>
  67.     <li class="">
  68.      <p class="P4">Select one or more sheets or areas, if you want, activate the automatic update function every n minutes and click OK.</p>
  69.      <p class="P4">The contents will be inserted as a link in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc document.</p>
  70.     </li>
  71.     <li class="">
  72.      <p class="P4">Save your spreadsheet. When you open it again later, <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc will update the linked cells following an inquiry.</p>
  73.     </li>
  74.     <li class="">
  75.      <p class="P4">Under <help:link Id="66279" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Tools - Options - Spreadsheet - General</span></help:link> you can choose to have the update, when opened, automatically carried out either always, upon request or never. The update can be started manually in the dialog under <span class="T1">Edit - Links</span>.</p>
  76.     </li>
  77.    </ol>
  78.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  79.    <p class="ParaList"><help:embedded Id="68398" Eid="webquery" xmlns:help="http://openoffice.org/2000/help"/></p>
  80.    <p class="ParaList"><help:embedded Id="68075" Eid="cellreferences" xmlns:help="http://openoffice.org/2000/help"/></p>
  81.    <p class="ParaList"/>
  82.   </body></html>